package com.haixiaoke.saas.workOrder.service;

import com.haixiaoke.saas.workOrder.domain.WorkOrderChargeItem;

import java.util.List;

/**
 * 维修收费项目Service接口
 * 
 * @author panda
 * @date 2024-09-02
 */
public interface IWorkOrderChargeItemService {
    /**
     * 查询维修收费项目
     * 
     * @param workOrderChargeItemId 维修收费项目主键
     * @return 维修收费项目
     */
    WorkOrderChargeItem selectWorkOrderChargeItemByWorkOrderChargeItemId(Long workOrderChargeItemId);

    /**
     * 查询维修收费项目列表
     * 
     * @param workOrderChargeItem 维修收费项目
     * @return 维修收费项目集合
     */
    List<WorkOrderChargeItem> selectWorkOrderChargeItemList(WorkOrderChargeItem workOrderChargeItem);

    /**
     * 新增维修收费项目
     * 
     * @param workOrderChargeItem 维修收费项目
     * @return 结果
     */
    int insertWorkOrderChargeItem(WorkOrderChargeItem workOrderChargeItem);

    /**
     * 批量新增维修收费项目
     * @param workOrderChargeItemList   维修收费项目集合
     * @return
     */
    int insertBatchWorkOrderChargeItem(List<WorkOrderChargeItem> workOrderChargeItemList);

    /**
     * 修改维修收费项目
     *
     * @param workOrderChargeItem 维修收费项目
     * @return 结果
     */
    int updateWorkOrderChargeItem(WorkOrderChargeItem workOrderChargeItem);

    /**
     * 批量修改维修收费项目
     *
     * @param workOrderChargeItemList 维修收费项目集合
     * @return 结果
     */
    int updateBatchWorkOrderChargeItem(List<WorkOrderChargeItem> workOrderChargeItemList);

    /**
     * 批量删除维修收费项目
     *
     * @param workOrderChargeItemIds 需要删除的维修收费项目主键集合
     * @return 结果
     */
     int deleteWorkOrderChargeItemByWorkOrderChargeItemIds(Long[] workOrderChargeItemIds);

    /**
     * 删除维修收费项目信息
     *
     * @param workOrderChargeItemId 维修收费项目主键
     * @return 结果
     */
     int deleteWorkOrderChargeItemByWorkOrderChargeItemId(Long workOrderChargeItemId);

    /**
     * 根据工单id删除维修收费项
     * @param workOrderId
     * @return
     */
    int deleteWorkOrderChargeItemByWorkOrderId(String workOrderId);

    /**
     * 根据工单id查询维修收费项
     * @param workOrderId
     * @return
     */
    List<WorkOrderChargeItem> selectWorkOrderChargeItemByWorkOrderId(String workOrderId);

    List<WorkOrderChargeItem> selectWorkOrderChargeItemByWorkOrderIds(List<String> workOrders);
}
